<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!--[if IE 8]> <html lang="zh-CN" class="ie8"> <![endif]-->
<html xmlns="http://www.w3.org/1999/xhtml">
	<html lang="zh-CN">

	<head>
		<meta charset="utf-8" />
		<title>用户中心</title>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

		<link type="text/css" rel="stylesheet" href="css/common.css" />
		<link type="text/css" rel="stylesheet" href="css/user.css" />
		<link type="text/css" rel="stylesheet" href="css/color-style.css" />
		<script type="text/javascript" src="js/jquery.js"></script>
		<script type="text/javascript" src="js/layer.js"></script>
		<script type="text/javascript" src="js/jquery.method.js"></script>
		<script type="text/javascript" src="js/jquery.modal.js"></script>
		<script type="text/javascript" src="js/common.js"></script>
		<script type="text/javascript" src="js/jquery.tablelist.js"></script>
		<script type="text/javascript" src="js/jquery.cookie.js"></script>
		<script type="text/javascript" src="js/common1.js"></script>
		<script type="text/javascript" src="js/user.js"></script>
	</head>

	<body>
		<div id="nav" class="bg-color">
			<div class="nav-content w1210">
				<div class="logo-info">
					<a href="/" target="_blank" class="logo fore1">
						<img src="css/mall_logo_0_white.png" style="margin-top: 10px;" />
					</a>
					<div class="user-link">
						<a href="/user.html" target="_self" class="fore2">我的商城</a>
						<a href="/" target="_blank" class="fore3">返回商城首页</a>
					</div>
				</div>
				<div class="navitems">
					<ul>
						<li class="fore-1">
							<a href="/user.html" target="_self" href="">首页</a>
						</li>
						<li class="fore-3">
							<div class="dl">
								<div class="dt">
									<span>账户设置</span>
									<b></b>
								</div>
								<div class="dd">
									<a href="/user/profile.html" target="_self">
										<span>个人资料</span>
									</a>
									<a href="/user/security.html" target="_self">
										<span>账户安全</span>
									</a>
									<a href="/user/bind.html" target="_self">
										<span>账号绑定</span>
									</a>
									<a href="/user/address.html" target="_self">
										<span>收货地址</span>
									</a>
								</div>
							</div>
						</li>
						<li class="fore-4">
							<a href="/user/message/internal.html">
								消息

							</a>
						</li>
					</ul>
				</div>

			</div>
		</div>
		</div>

		<div id="content">
			<div class="content w1210 clearfix">
				<!-- 引入左侧导航条文件 -->
				<div class="con-left fl">
					<div class="nav-list">
						<div class="func func1">
							<p class="title">
								<i></i>
								<span>会员中心</span>
							</p>
							<a href="/user/center.html" class="item curs">
								<span>欢迎页</span>
								<i></i>
							</a>
							<a href="/user/profile.html" class="item ">
								<span>个人资料</span>
								<i></i>
							</a>
							<a href="/user/security.html" class="item ">
								<span>账户安全</span>
								<i></i>
							</a>

							<a href="/user/address.html" class="item ">
								<span>收货地址</span>
								<i></i>
							</a>
							<a href="/user/message/internal.html" class="item ">
								<span>我的消息</span>
								<i></i>
							</a>
							<a href="/user/growth-value.html" class="item ">
								<span>我的成长值</span>
								<i></i>
							</a>
						</div>
						<div class="func func2">
							<p class="title">
								<i></i>
								<span>交易中心</span>
							</p>
							<a href="/user/order.html" class="item ">
								<span>我的订单</span>
								<i></i>
							</a>
							<a href="/user/evaluate/index.html" class="item ">
								<span>我的评价</span>
								<i></i>
							</a>
							<a href="/user/back.html" class="item ">
								<span>退款退货</span>
								<i></i>
							</a>
							<!-- <a href="/user/replace.html" class="item">
				<span>换货维修</span>
				<i></i>
			</a> -->
							<a href="/user/complaint.html" class="item ">
								<span>我的投诉</span>
								<i></i>
							</a>
							<a href="/user/collect/goods.html" class="item ">
								<span>我的收藏</span>
								<i></i>
							</a>
							<!-- <a href="" class="item"><span>我的二手</span><i></i></a> -->
						</div>
						<div class="func func3">
							<p class="title">
								<i></i>
								<span>资金中心</span>
							</p>
							<a href="/user/capital-account.html" class="item ">
								<span>我的资金账户</span>
								<i></i>
							</a>
							<a href="/user/recharge.html" class="item  ">
								<span>我的充值</span>
								<i></i>
							</a>
							<a href="" class="item">
								<span>我的积分</span>
								<i></i>
							</a>
							<a href="/user/bonus.html" class="item ">
								<span>我的优惠券</span>
								<i></i>
							</a>
						</div>
						<div class="func func4">
							<p class="title">
								<i></i>
								<span>服务中心</span>
							</p>
							<a href="/shop/apply/index.html" class="item" target="_blank">
								<span>退换货政策</span>
								<i></i>
							</a>
							<a href="/shop/apply/index.html" class="item" target="_blank">
								<span>操作帮助</span>
								<i></i>
							</a>
						</div>
					</div>
				</div>

				<!-- 正文，由view提供 -->

				<div class="con-right fr">
					<!-- 倒计时 -->
					<script type="text/javascript" src="js/jquery.countdown.js"></script>
					<div class="con-right-text">
						<div class="tabmenu">
							<div class="user-status">
								<span class="user-statu active">
								<a id="order_all" class="tabs- color">
									<span>所有订单</span>
									<em class="tag-em">2</em>
									<span class="vertical-line">|</span>
								</a>
								</span>
								<span class="user-statu">
								<a id="order_unpayed" class="tabs-">
									<span>待付款</span>
												<em class="tag-em">1</em>
												<span class="vertical-line">|</span>
								</a>
								</span>
								<span class="user-statu">
								<a id="order_unshipped" class="tabs-">
									<span>待发货</span>
												<em class="tag-em">0</em>
												<span class="vertical-line">|</span>
								</a>
								</span>
								<span class="user-statu">
								<a id="order_shipped" class="tabs-">
									<span>待收货</span>
												<em class="tag-em">0</em>
												<span class="vertical-line">|</span>
								</a>
								</span>
								<span class="user-statu">
								<a id="order_unevaluate" class="tabs- tp-tag-a">
									<span>待评价</span>
												<em class="tag-em">0</em>
								</a>
								</span>
							</div>
							<div class="user-tab-right">
								<a href="http://www.itsource.com/user/order/list.html?is_delete=1">订单回收站</a>
							</div>
						</div>
						
						
						<div class="content-info">
							<div class="content-list order-list">
								
								
								<form id="searchForm" name="searchForm" action="http://www.itsource.com/user/order.html" method="GET">
									<div class="content-search order-search"></div>
									<div class="order-screen-term">
										<label style="width: 30%;">
											<span>商品标题/订单号：</span>
											<input type="text" id="name" class="form-control" name="name" placeholder="输入商品标题或订单号">
										</label>
										<label style="width: 30%;">
											<span>交易状态：</span>
											<span class="select">
												<select id="order_status" class="form-control" name="order_status">
												<option value="">全部</option>
												<option value="unpayed">等待买家付款</option>
												<option value="unshipped">等待卖家发货</option>
												<option value="shipped">卖家已发货</option>
												<option value="finished">交易成功</option>
												<option value="closed">交易关闭</option>
												<option value="backing">退款中的订单</option>
												</select>
											</span>
										</label>
										<label style="width: 30%;">
											<span>成交时间：</span>
											<span class="select">
												<select id="order_time" class="form-control" name="order_time">
												<option value="">全部</option>
												<option value="ThreeMonth">近三个月订单</option>
												<option value="ThisYear">今年内订单</option>
												<option value="OneYear">2016年订单</option>
												<option value="TwoYear">2015年订单</option>
												<option value="ThreeYear">2014年订单</option>
												<option value="OldYear">2014年以前订单</option>
												</select>
											</span>
										</label>
										<label style="display: none">
											<span>评价状态：</span>
											<span class="select">
												<select id="evaluate_status" class="form-control" name="evaluate_status">
												<option value="">全部</option>
												<option value="unevaluate">待评价</option>
												<option value="evaluate">已评价</option>
												</select>
											</span>
										</label>
										<label style="width: 10%;">
											<input type="submit" value="搜索" class="search" id="searchFormSubmit">
										</label>
									</div>
								</form>

								<div id="table_list">
									<table class="table">
										<colgroup>
											<col style="width: 38%;">
											<col style="width: 10%;">
											<col style="width: 5%;">
											<col style="width: 12%;">
											<col style="width: 12%;">
											<col style="width: 11%;">
											<col style="width: 12%;">
										</colgroup>
										<thead>
											<tr>
												<th>宝贝</th>
												<th class="" style="cursor: default;">单价（元）</th>
												<th>数量</th>
												<th>商品操作</th>
												<th>金额（元）</th>
												<th class="" style="cursor: default;">交易状态</th>
												<th class="" style="cursor: default;">交易操作</th>
											</tr>
										</thead>
										<tbody>
											<tr>
												<th colspan="7">
													<div class="fl">
														<label class="input-label">
										<input class="checkBox table-list-checkbox-all" type="checkbox" title="全选/全不选">
										全选
									</label>
														<button class="btn-default" type="button" onclick="order_deletes(1)">批量删除订单</button>
													</div>
												</th>
											</tr>
										</tbody>
									</table>
									<div class="trade-order">
										<table class="trade-order-goods">
											<colgroup>
												<col style="width: 36%;">
												<col style="width: 10%;">
												<col style="width: 5%;">
												<col style="width: 10%;">
												<col style="width: 15%;">
												<col style="width: 11%;">
												<col style="width: 13%;">
											</colgroup>
											<tbody>
												<tr class="trade-order-info">
													<td colspan="2">
														<label>
										<input type="checkbox" name="order_delete" value="1080" class="table-list-checkbox">
										<span style="">2017-02-08 16:40:24</span>
									</label>
														<span>订单号：</span>
														<span>20170208188580</span>
													</td>
													<td colspan="4">
														<span class="shop-logo">
										<img src="img/shop-icon2.png">
									</span>
														<a href="http://www.itsource.com/shop/6" title="爱购物官方自营二号店" target="_blank" class="shop-name">爱购物官方自营二号店</a>

														<a href="javascript:;" class="ww-light service-online service-btn" data-shop_id="6">
															<img src="img/test/openim.png" width="20" height="20" border="0" alt="在线客服">
														</a>

													</td>
													<td class="order-recycle-bin">
													</td>
												</tr>
												<tr>
													<td class="goods-info">
														<div style="overflow: hidden;">
															<a class="goods-img" href="http://www.itsource.com/5790" target="_blank">
																<img src="img/TB2x97hbg1I.eBjSszeXXc2hpXa_!!1647957945.jpg">
															</a>
															<div class="item-con">
																<div class="item-name">
																	<a href="http://www.itsource.com/5790" target="_blank">
																		<span>秋冬加绒加厚保暖纯色长袖衬衫打底衫韩范纯棉娃娃领白衬衣女上衣</span>
																	</a>
																	<a href="http://www.itsource.com/user/order/info?id=1080">
																		<span>[</span>
																		<span>交易快照</span>
																		<span>]</span>
																	</a>
																</div>
																<div class="item-props">
																	<span class="sku">
																										<span>颜色分类:加绒元宝领</span>
																	<span>尺码:XXL</span>
																	</span>
																</div>
																<div class="item-icons">
																</div>
															</div>
														</div>
													</td>
													<td class="goods-price">
														<p class="del">100.00</p>
														<p class="second-color">39.80</p>
														<!-- -->

													</td>
													<td class="goods-num">1</td>
													<td class="goods-operate">

													</td>
													<td class="goods-payment" rowspan="2">
														<p>
															总金额：
															<b>￥154.80</b>
														</p>

														<p>
															待付款：
															<strong class="second-color">￥154.80</strong>
														</p>

														<p>
															<span>(免邮)</span>
														</p>
														<p>
															<a class="phone-order">PC端</a>
														</p>
														<p>
															<span>微信支付</span>
														</p>
													</td>
													<td class="trading-status" rowspan="2">
														<div class="operate">
															<a target="_blank">等待买家付款</a>
														</div>
														<div class="operate">
															<a href="http://www.itsource.com/user/order/info?id=1080">订单详情</a>
														</div>
													</td>

													<td class="trading-operate" rowspan="2">

														<div class="operate">
															<p class="confirm-receipt-time">
																还剩
																<span id="counter_1080">06 天 23 小时 55 分 00 秒</span>
															</p>
															<a href="http://www.itsource.com/checkout/pay.html?id=1080" target="_blank" class="on-payment">立即付款</a>
														</div>
														<script type="text/javascript">
															$(document).ready(function() {
																$("#counter_1080").countdown({
																	date: "02/15/2017 16:40:24",
																	onChange: function(event, timer) {},
																	onComplete: function(event) {
																		$(this).html("已超时！");
																		// 超时事件，预留
																		$.ajax({
																			type: 'GET',
																			url: '/user/order/cancel-sys',
																			data: {
																				order_id: 1080
																			},
																			dataType: 'json',
																			success: function(data) {
																				if(data.code == 0) {
																					tablelist.load();
																				}
																			}
																		});
																	},
																	leadingZero: true
																});

															});
														</script>

														<div class="operate">
															<a class="cancel-payment edit-order" data-id="1080" data-type="cancel">取消订单</a>
														</div>

													</td>

												</tr>
												<!-- 商品自带赠品 -->

												<tr>
													<td class="goods-info border-top">
														<div style="overflow: hidden;">
															<a class="goods-img" href="http://www.itsource.com/45580" target="_blank">
																<img src="img/TB2ENnSXNqK.eBjSZJiXXaOSFXa_!!874022290.jpg">
															</a>
															<div class="item-con">
																<div class="item-name">
																	<a href="http://www.itsource.com/45580" target="_blank">
																		<span>雪纺衫2016秋装新款大码女装上衣韩版职业装白色修身长袖女打底衫</span>
																	</a>
																	<a href="http://www.itsource.com/user/order/info?id=1080">
																		<span>[</span>
																		<span>交易快照</span>
																		<span>]</span>
																	</a>
																</div>
																<div class="item-props">
																	<span class="sku">
																										<span>颜色分类:浅紫色</span>
																	<span>尺码:M（秋冬热卖）</span>
																	</span>
																</div>
																<div class="item-icons">
																</div>
															</div>
														</div>
													</td>
													<td class="goods-price border-top">
														<p class="del">210.00</p>
														<p class="second-color">115.00</p>
														<!-- -->

													</td>
													<td class="goods-num border-top">1</td>
													<td class="goods-operate border-top">

													</td>
												</tr>
												<!-- 商品自带赠品 -->

											</tbody>
										</table>
									</div>
									<div class="trade-order">
										<table class="trade-order-goods">
											<colgroup>
												<col style="width: 36%;">
												<col style="width: 10%;">
												<col style="width: 5%;">
												<col style="width: 10%;">
												<col style="width: 15%;">
												<col style="width: 11%;">
												<col style="width: 13%;">
											</colgroup>
											<tbody>
												<tr class="trade-order-info">
													<td colspan="2">
														<label>
										<input type="checkbox" name="order_delete" value="1052" class="table-list-checkbox">
										<span style="">2017-01-21 16:14:21</span>
									</label>
														<span>订单号：</span>
														<span>20170121837040</span>
													</td>
													<td colspan="4">
														<span class="shop-logo">
										<img src="img/shop-icon2.png">
									</span>
														<a href="http://www.itsource.com/shop/7" title="爱购物官方自营一号店" target="_blank" class="shop-name">爱购物官方自营一号店</a>

														<a href="javascript:;" class="ww-light service-online service-btn" data-shop_id="7">
															<img src="img/test/openim.png" width="20" height="20" border="0" alt="在线客服">
														</a>

													</td>
													<td class="order-recycle-bin">
														<a onclick="order_delete(1052,1)">
															<i></i>
															<span>删除</span>
														</a>
													</td>
												</tr>
												<tr>
													<td class="goods-info">
														<div style="overflow: hidden;">
															<a class="goods-img" href="http://www.itsource.com/254" target="_blank">
																<img src="img/TB1myctOXXXXXbYXXXXXXXXXXXX_!!0-item_pic.jpg">
															</a>
															<div class="item-con">
																<div class="item-name">
																	<a href="http://www.itsource.com/254" target="_blank">
																		<span>老街口 焦糖/山核桃味/红枣瓜子500g零食坚果炒货干货葵花籽特产红枣口味</span>
																	</a>
																	<a href="http://www.itsource.com/user/order/info?id=1052">
																		<span>[</span>
																		<span>交易快照</span>
																		<span>]</span>
																	</a>
																</div>
																<div class="item-props">
																	<span class="sku">
																										<span>食品口味:红枣口味</span>
																	</span>
																</div>
																<div class="item-icons">
																</div>
															</div>
														</div>
													</td>
													<td class="goods-price">
														<p class="del">48.00</p>
														<p class="second-color">13.90</p>
														<!-- -->

													</td>
													<td class="goods-num">1</td>
													<td class="goods-operate">

														<!-- <div class="operate">
											<a href="" target="_blank">申请售后</a>
										</div> -->
														<div class="operate">

														</div>

													</td>
													<td class="goods-payment" rowspan="5">
														<p>
															总金额：
															<b>￥112.39</b>
														</p>

														<p>
															待付款：
															<strong class="second-color">￥112.39</strong>
														</p>

														<p>
															<span>(免邮)</span>
														</p>
														<p>
															<a class="phone-order">PC端</a>
														</p>
														<p>
															<span>银联支付</span>
														</p>
													</td>
													<td class="trading-status" rowspan="5">
														<div class="operate">
															<a target="_blank">交易关闭</a>
														</div>
														<div class="operate">
															<a href="http://www.itsource.com/user/order/info?id=1052">订单详情</a>
														</div>
													</td>

												</tr>
												<!-- 商品自带赠品 -->

												<tr>
													<td class="goods-info border-top">
														<div style="overflow: hidden;">
															<a class="goods-img" href="http://www.itsource.com/891" target="_blank">
																<img src="img/TB1WC_WMVXXXXaLaXXXXXXXXXXX_!!0-item_pic.jpg">
															</a>
															<div class="item-con">
																<div class="item-name">
																	<a href="http://www.itsource.com/891" target="_blank">
																		<span>良品铺子甘栗仁小栗子仁板栗仁零食坚果干果炒货休闲食品糖炒板栗原味80g*3袋</span>
																	</a>
																	<a href="http://www.itsource.com/user/order/info?id=1052">
																		<span>[</span>
																		<span>交易快照</span>
																		<span>]</span>
																	</a>
																</div>
																<div class="item-props">
																	<span class="sku">
																										<span>食品口味:原味80g*3袋</span>
																	</span>
																</div>
																<div class="item-icons">
																</div>
															</div>
														</div>
													</td>
													<td class="goods-price border-top">
														<p class="del">58.00</p>
														<p class="second-color">19.90</p>
														<!-- -->

													</td>
													<td class="goods-num border-top">1</td>
													<td class="goods-operate border-top">

														<!-- <div class="operate">
											<a href="" target="_blank">申请售后</a>
										</div> -->
														<div class="operate">

														</div>

													</td>
												</tr>
												<!-- 商品自带赠品 -->

												<tr>
													<td class="goods-info border-top">
														<div style="overflow: hidden;">
															<a class="goods-img" href="http://www.itsource.com/917" target="_blank">
																<img src="img/TB1lewkJpXXXXbwXFXXXXXXXXXX_!!0-item_pic.jpg">
															</a>
															<div class="item-con">
																<div class="item-name">
																	<a href="http://www.itsource.com/917" target="_blank">
																		<span>【周黑鸭旗舰店_锁鲜】气调盒装卤鸭脖320g 武汉特产食品零食小吃</span>
																	</a>
																	<a href="http://www.itsource.com/user/order/info?id=1052">
																		<span>[</span>
																		<span>交易快照</span>
																		<span>]</span>
																	</a>
																</div>
																<div class="item-props">
																	<span class="sku">
																										<span></span>
																	</span>
																</div>
																<div class="item-icons">
																</div>
															</div>
														</div>
													</td>
													<td class="goods-price border-top">
														<p class="del">36.80</p>
														<p class="second-color">36.80</p>
														<!-- -->

													</td>
													<td class="goods-num border-top">1</td>
													<td class="goods-operate border-top">

														<!-- <div class="operate">
											<a href="" target="_blank">申请售后</a>
										</div> -->
														<div class="operate">

														</div>

													</td>
												</tr>
												<!-- 商品自带赠品 -->

												<tr>
													<td class="goods-info border-top">
														<div style="overflow: hidden;">
															<a class="goods-img" href="http://www.itsource.com/35530" target="_blank">
																<img src="img/TB2pFFMdduO.eBjSZFCXXXULFXa_!!131276599.jpg">
															</a>
															<div class="item-con">
																<div class="item-name">
																	<a href="http://www.itsource.com/35530" target="_blank">
																		<span>天天特价包包2016新款秋冬斜挎包韩版手提包流苏贝壳包女包单肩包黑色款</span>
																	</a>
																	<a href="http://www.itsource.com/user/order/info?id=1052">
																		<span>[</span>
																		<span>交易快照</span>
																		<span>]</span>
																	</a>
																</div>
																<div class="item-props">
																	<span class="sku">
																										<span>颜色分类:黑色款</span>
																	</span>
																</div>
																<div class="item-icons">
																</div>
															</div>
														</div>
													</td>
													<td class="goods-price border-top">
														<p class="del">99.96</p>
														<p class="second-color">29.99</p>
														<!-- -->

													</td>
													<td class="goods-num border-top">1</td>
													<td class="goods-operate border-top">

														<!-- <div class="operate">
											<a href="" target="_blank">申请售后</a>
										</div> -->
														<div class="operate">

														</div>

													</td>
												</tr>
												<!-- 商品自带赠品 -->

												<tr>
													<td class="goods-info border-top">
														<div style="overflow: hidden;">
															<a class="goods-img" href="http://www.itsource.com/68501" target="_blank">
																<img src="img/TB2Gg9fXOgSXeFjy0FcXXahAXXa_!!1732113555.jpg">
															</a>
															<div class="item-con">
																<div class="item-name">
																	<a href="http://www.itsource.com/68501" target="_blank">
																		<span>自粘墙纸贴画创意电视背景墙砖纹壁纸3d立体墙贴客厅卧室装饰贴纸灰色 二代灰色68*75cm 大</span>
																	</a>
																	<a href="http://www.itsource.com/user/order/info?id=1052">
																		<span>[</span>
																		<span>交易快照</span>
																		<span>]</span>
																	</a>
																</div>
																<div class="item-props">
																	<span class="sku">
																										<span>颜色分类:灰色 二代灰色68*75cm</span>
																	<span>尺寸/加工方式:大</span>
																	</span>
																</div>
																<div class="item-icons">
																</div>
															</div>
														</div>
													</td>
													<td class="goods-price border-top">
														<p class="del">59.70</p>
														<p class="second-color">11.80</p>
														<!-- -->

													</td>
													<td class="goods-num border-top">1</td>
													<td class="goods-operate border-top">

														<!-- <div class="operate">
											<a href="" target="_blank">申请售后</a>
										</div> -->
														<div class="operate">

														</div>

													</td>
												</tr>
												<!-- 商品自带赠品 -->

											</tbody>
										</table>
									</div>

									<!--分页-->
									<div class="page">
										<div class="page-wrap fr">
											<div id="pagination" class="pull-right page-box">

												<div id="pagination" class="page">
													<script data-page-json="true" type="text">
														{"page_key":"page","page_id":"pagination","default_page_size":15,"cur_page":1,"page_size":10,"page_size_list":[1,10,20,30,50],"record_count":2,"page_count":1,"offset":0,"url":null,"sql":null}
													</script>
													<div class="page-wrap fr">
														<div class="total">共2条记录</div>
													</div>
													<div class="page-num fr">
														<span class="num prev disabled" style="display: none;">
			<a class="fa fa-angle-double-left" data-go-page="1" title="第一页"></a>
		</span>

														<span>
			<a class="num prev disabled " title="上一页">上一页</a>
		</span>

														<!--   -->

														<span class="num curr">
			<a data-cur-page="1">1</a>
		</span>

														<span class="disabled" style="display: none;">
			<a class="num " data-go-page="1" title="最后一页"></a>
		</span>

														<span>
			<a class="num next disabled" title="下一页">下一页</a>
		</span>

													</div>
													
													<script type="text/javascript">
														$().ready(function() {
															$(".pagination-goto > .goto-input").keyup(function(e) {
																$(".pagination-goto > .goto-link").attr("data-go-page", $(this).val());
																if(e.keyCode == 13) {
																	$(".pagination-goto > .goto-link").click();
																}
															});
															$(".pagination-goto > .goto-button").click(function() {
																var page = $(".pagination-goto > .goto-link").attr("data-go-page");
																if($.trim(page) == '') {
																	return false;
																}
																$(".pagination-goto > .goto-link").attr("data-go-page", page);
																$(".pagination-goto > .goto-link").click();
																return false;
															});
														});
													</script>
												</div>
											</div>
										</div>
									</div>

								</div>

							</div>

							<div class="operat-tips">
								<h4>订单注意事项</h4>
								<ul class="operat-panel">
									<li>
										<span>下单后订单会为您保留168小时，如168小时内未付款，系统将自动取消您的订单</span>
									</li>

									<li>
										<span>如买家下单后长时间未付款，卖家将有可能关闭您的订单</span>
									</li>
									<li>
										<span>卖家发货后，“确认收货”倒计时自动开启，到期系统将自动确认收货，您可在小于三天时手动“延长收货时间”</span>
									</li>
								</ul>
							</div>
						</div>
					</div>

					<script>
						$().ready(function() {
							$("body").on("click", ".edit-order", function() {
								var type = $(this).data("type");
								var id = $(this).data("id");

								title = '';
								if(type == 'delay') {
									title = "延长确认收货时间";
								}
								if(type == 'confirm') {
									title = "确认收货";
								}
								if(type == 'cancel') {
									title = "取消订单";
								}

								if($.modal($(this))) {
									$.modal($(this)).show();
								} else {
									$.modal({
										// 标题  
										title: title,
										trigger: $(this),
										// ajax加载的设置  
										ajax: {
											url: '/user/order/edit-order?from=list',
											data: {
												type: type,
												id: id
											}
										},
									});
								}

							});

						});
					</script>

					<script type="text/javascript">
						var tablelist = null;
						$().ready(function() {

							tablelist = $("#table_list").tablelist({
								params: $("#searchForm").serializeJson(),
								callback: function() {
									$.loading.stop();

									if($(".con-right").height() != $(".con-left").height()) {
										$(".con-left").height($(".con-right").height());
									}
								}
							});

							$("#searchForm").submit(function() {
								$.loading.start();

								// 控制下方快速选择tab样式
								if($("#order_status").val() != '') {
									$("a[class^='tabs-']").removeClass('color');
									$("a[id='order_" + $("#order_status").val() + "']").addClass('color');
									$(".user-statu").removeClass('active');
									$("a[id='order_" + $("#order_status").val() + "']").parent(".user-statu").addClass('active');
								} else if($("#evaluate_status").val() == 'unevaluate') {
									$("a[class^='tabs-']").removeClass('color');
									$("a[id='order_unevaluate']").addClass('color');
									$(".user-statu").removeClass('active');
									$("a[id='order_unevaluate']").parent(".user-statu").addClass('active');
								} else {
									$("a[class^='tabs-']").removeClass('color');
									$("a[id='order_all']").addClass('color');
									$(".user-statu").removeClass('active');
									$("a[id='order_all']").parent(".user-statu").addClass('active');
								}

								// 序列化表单为JSON对象
								var data = $(this).serializeJson();
								// Ajax加载数据
								tablelist.load(data);
								// 阻止表单提交
								return false;
							});
						});

						$("#searchFormSubmit").click(function() {
							$("#searchForm").submit();
						});

						$("a[class^='tabs-']").click(function() {
							$.loading.start();

							$("a[class^='tabs-']").removeClass('color');
							$(".user-statu").removeClass('active');
							$(this).addClass('color');
							$(this).parent(".user-statu").addClass('active');

							if($(this).attr("id") == "order_all") {
								$("#order_status").val("");
								$("#evaluate_status").val("");
							} else if($(this).attr("id") == "order_unevaluate") {
								$("#evaluate_status").val($(this).attr("id").substr(6));
								$("#order_status").val("");
							} else {
								$("#order_status").val($(this).attr("id").substr(6));
								$("#evaluate_status").val("");
							}

							tablelist = $("#table_list").tablelist({
								params: $("#searchForm").serializeJson(),
								callback: function() {
									$.loading.stop();

									if($(".con-right").height() != $(".con-left").height()) {
										$(".con-left").height($(".con-right").height());
									}
								}
							});
							tablelist.load();
						});

						function order_delete(order_id, type) {
							var text = "";
							var url = "/user/order/list.html";
							if(type == 2) {
								text = "您确定要彻底删除该订单吗？";
								url += "?is_delete=1";
							} else if(type == 1) {
								text = "您确定要删除该订单吗？";
							} else {
								text = "您确定要还原该订单吗？";
								url += "?is_delete=1";
							}

							layer.alert(text, {
								icon: 3,
								skin: 'layer-ext-moon',
								btn: ['确定', '取消']
							}, function() {
								$.loading.start();
								$.ajax({
									type: 'POST',
									url: '/user/order/delete.html',
									data: {
										order_id: order_id,
										type: type,
									},
									dataType: 'json',
									success: function(data) {
										$.loading.stop();
										$.msg(data.message);

										if(data.code == 0) {
											$.go(url);
										}
									}
								});
							}, function(index) {
								layer.close(index);
							});
						}

						function order_deletes(type) {
							var order_ids = document.getElementsByName("order_delete");
							var order_id = new Array();

							for(var i = 0; i < order_ids.length; i++) {
								if(order_ids[i].checked == true) {
									order_id[i] = order_ids[i].value;
								}
							}

							if(order_id.length <= 0) {
								$.msg("请勾选待删除订单！");
								return false;
							}

							$.loading.start();
							$.ajax({
								type: 'POST',
								url: '/user/order/delete.html',
								data: {
									order_id: order_id,
									type: 3,
								},
								dataType: 'json',
								success: function(data) {
									$.loading.stop();

									var text = "";
									var url = "/user/order/list.html";
									if(type == 2) {
										text = "您确定要批量彻底删除这些订单吗？";
										url += "?is_delete=1";
									} else if(type == 1) {
										text = data.message;
									} else {
										text = "您确定要批量还原这些订单吗？";
										url += "?is_delete=1";
									}

									layer.alert(text, {
										icon: 3,
										skin: 'layer-ext-moon',
										btn: ['确定', '取消']
									}, function(index) {
										if(data.code == 0) {
											$.loading.start();
											$.ajax({
												type: 'POST',
												url: '/user/order/delete.html',
												data: {
													order_id: order_id,
													type: type,
												},
												dataType: 'json',
												success: function(data) {
													$.loading.stop();
													$.msg(data.message);

													if(data.code == 0) {
														$.go(url);
													}
												}
											});
										} else {
											layer.close(index);
										}
									}, function(index) {
										layer.close(index);
									});
								}
							});
						}
					</script>
				</div>

				<!-- 正文结束，由view提供 -->
			</div>
		</div>

		<!-- 引入底部文件 -->
		<!-- 底部 _start-->
		<div class="site-footer">
			<div class="footer-related">
				<div class="footer-info">
					<div class="info-text">
						<!-- 底部导航 -->
						<p class="nav-bottom">
						</p>
						<p>
							Copyright 源代码教育咨询有限公司(www.itsource.cn) 版权所有
							<a href="http://www.miibeian.gov.cn/" target="_blank">蜀ICP备88888888号</a>
						</p>
						<p class="company-info" style="display: none;">四川省成都市高新区天府新谷</p>
						<p class="qualified">
						</p>
					</div>

				</div>

			</div>
		</div>
		<script type="text/javascript" src="js/jquery.fly.min.js"></script>
	</body>

	</html>